package com.neulogistics.core.substation.api.application.command;

import com.blackto.lib.mediat.unicast.IRequest;
import com.neulogistics.core.substation.domain.model.valueobject.CourierInfo;
import com.neulogistics.infrastructure.common.serviceresult.BaseResponse;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.util.Base64;

@Data
public class AssignCourierCommand implements IRequest<BaseResponse<Boolean>> {
    /**
     * 任务单id
     */
    @NotNull
    @Positive
    public Long taskId;

    /**
     * 配送员信息
     */
    @NotNull
    public CourierInfo courierInfo;
}
